<template>
  <ga-tag v-if="record?.state === 0" style="font-size: 14px" color="green"
    >正常</ga-tag
  >
  <ga-tag v-else style="font-size: 14px; margin-left: 6px" color="orange"
    >异常</ga-tag
  >
</template>

<script setup>
import { defineProps, toRefs } from "vue";
const props = defineProps({
  record: {
    required: true,
    default: "-",
  },
});
const { record } = toRefs(props);
</script>
<style lang="scss" scoped></style>
